@charset "utf-8";
/**************************************************
 * 希声播放器样式表文件V1.0
 * 编写：翼遥bingo(https://blog.csdn.net/hannah2233)
 * 时间：2022-1-27
 *************************************************/

/*******************初始化样式******************/
blockquote,
body,
button,
dd,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
html,
input,
lengend,
li,
ol,
p,
pre,
td,
textarea,
th,
ul {
  margin: 0;
  padding: 0;
}
body,
button,
input,
select,
textarea,
th {
  color: #333;
  background-color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-family: poppin, "PingFang SC", Tahoma, Arial, \5fae\8f6f\96c5\9ed1,
    sans-serif;
  font-family: Tahoma, Arial, \5fae\8f6f\96c5\9ed1, sans-serif/9;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}
li {
  list-style: none;
}
img {
  border: 0 none;
  -ms-interpolation-mode: bicubic;
  image-rendering: optimizeQuality;
}
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}
button {
  cursor: pointer;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  color: #333;
  text-decoration: none;
}
a:hover {
  color: rgb(11, 194, 194);
  text-decoration: none;
}
a:focus,
button:focus,
input:focus {
  outline: 0;
}
.text-center {
  text-align: center;
}
.clear-fix {
  zoom: 1;
}
.clear-fix:before,
.clear-fix:after {
  display: table;
  line-height: 0;
  content: "";
}
.clear-fix:after {
  clear: both;
}
.hidden {
  display: none !important;
}
/*************************************/
.center {
  width: 1250px;
  margin: 0 auto;
}
/*******************头部导航 + 登录样式表******************/
.active {
  background-color: rgb(163, 241, 235);
}
header {
  z-index: 1000;
  background-color: #fff;
  position: fixed;
  height: 70px;
  width: 100%;
  box-shadow: 3px 2px 19px 2px gainsboro;
  font: bold 24px Georgia, "Times New Roman", Times, serif;
  .center {
    display: flex;
    justify-content: space-between;
    line-height: 70px;
    img {
      width: 120px;
      height: 70px;
    }
    ul {
      margin-left: -70px;
      li {
        float: left;
        padding: 0 30px;
        // border-bottom: solid 3px aqua;
        transition: 0.3s;
        &:hover {
          border-bottom: solid 4px aqua;
        }
        a:hover {
          color: rgb(107, 104, 104);
        }
      }
    }
    span {
      .search {
        border: 2px solid #ccc;
        border-radius: 20px;
        width: 230px;
        height: 30px;
      }
      svg {
        vertical-align: middle;
      }
    }
    #user-login {
      width: 150px;
      #user-awatar {
        border: solid 1px #ccc;
        overflow: hidden;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-top: 10px;
      }
      #user-name {
        font-size: 16px;
        vertical-align: 16px;
        color: #333;
      }
    }
  }
}
#login-page input {
  margin-top: 30px;
}

/*******************退出登录******************/
#loginout {
  cursor: pointer;
  display: none;
  position: absolute;
  top: 70px;
  right: 0px;
  width: 100px;
  height: 130px;
  border: 4px solid rgb(61, 59, 59);
  text-align: center;
  &:before {
    content: "";
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid transparent;
    border-top-color: rgb(61, 59, 59);
    border-left-color: rgb(61, 59, 59); /*此处用的边框*/
    position: absolute;
    top: -14px;
    left: 50%;
    margin-left: -5px;
    transform: rotate(45deg);
  }
  p {
    border-bottom: 2px solid rgb(61, 59, 59);
    height: 60px;
  }
}
/*******************轮播图******************/
.center1 {
  width: 1000px;
  margin: 0 auto;
}
.banner {
  padding-top: 60px;
  background-color: red;
  height: 350px;
}

/*******************热门推荐******************/
.hotList {
  height: 200px;

  .h-title {
    width: 800px;
    margin: 0 auto;
    h1 {
      text-align: center;
      font-size: 30px;
      line-height: 100px;
    }
    .h-subt {
      display: inline-block;
      font-size: 17px;
      font-weight: 800;
      margin: 0 40px;
      color: rgb(170, 168, 168);
      cursor: pointer;
    }
    span.active1 {
      position: relative;
      font-weight: 600;
      color: #000;
      &:after {
        position: absolute;
        content: "";
        left: 0;
        bottom: 1px;
        width: 100%;
        height: 6px;
        background-color: rgb(96, 247, 234);
        z-index: -1;
      }
    }
  }
  #playlist {
    margin-top: 40px;

    .listItem {
      float: left;
      width: 18%;
      padding: 20px 42px 30px 0;
      margin-right: -22px;
      cursor: pointer;

      .itemUp {
        display: block;
        position: relative;
        height: 216px;
        width: 180px;
        position: relative;
        img {
          width: 175px;
          height: 200px;
          border-radius: 20px;
        }
        span {
          position: absolute;
          top: 0px;
          right: 0;
          em {
            color: #fff;
          }
        }

        &::after,
        &::before {
          content: "";
          border-radius: 20px;
          width: 100%;
          height: 100%;
          background-color: #d9d9d9;
          position: absolute;
          top: 0;
        }

        &::before {
          border: 1px solid #d6d6d6;
          border-radius: 20px;
          right: -4px;
          -webkit-transform: scale(0.85);
          -ms-transform: scale(0.85);
          transform: scale(0.85);
          -webkit-transform-origin: 100% 50%;
          -ms-transform-origin: 100% 50%;
          transform-origin: 100% 50%;
          z-index: -1;
          border-radius: 2px;
          transition: all 0.4s linear;
        }

        &::after {
          border: 1px solid #c4c4c4;
          border-radius: 20px;
          right: -8px;
          -webkit-transform: scale(0.73);
          -ms-transform: scale(0.73);
          transform: scale(0.73);
          -webkit-transform-origin: 100% 50%;
          -ms-transform-origin: 100% 50%;
          transform-origin: 100% 50%;
          z-index: -2;
          border-radius: 2px;
          opacity: 0.5;
          transition: all 0.4s linear 0.1s;
        }
      }

      &:hover {
        .itemUp {
          position: relative;

          &::after,
          &::before {
            background: #91f8ff80;
          }

          &::before {
            right: -6px;
          }

          &::after {
            right: -12px;
          }
        }

        .infoName {
          color: #000;
        }
      }
      .infoTag {
        color: aquamarine;
      }
    }
  }
}

/*******************<!-- "我的音乐" 模块 -->******************/
#my {
  display: none;
}
/*******************<!-- "歌曲模块" 模块 -->******************/
#playlistItem {
  padding-top: 100px;
  display: none;
  width: 1200px;
  margin: 0 auto;
  .ItemLeft {
    float: left;
    width: 70%;
    .LeftTop {
      .ItemAva {
        width: 250px;
        height: 250px;
        box-shadow: 2px 2px 2px 2px #ccc;
      }
      .describe {
        display: inline-block;
        vertical-align: top;
        margin-left: 50px;
        width: 480px;
        height: 250px;
        h3 {
          font-size: 21px;
        }
        .p1 {
          margin: 25px 0;
          .avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            overflow: hidden;
            vertical-align: middle;
          }
          span {
            margin-left: 10px;
          }
          i {
            margin-left: 36px;
            color: #c4c4c4;
            font-size: 11px;
            font-style: normal;
          }
        }
        .p2 em {
          margin-right: 20px;
          color: #ccc;
        }
        h5 {
          margin-top: 25px;
        }
        .p3 {
          color: rgb(129, 128, 128);
          -webkit-line-clamp: 3;
          margin-top: 10px;
          -webkit-box-orient: vertical;
          text-overflow: ellipsis;
          overflow: hidden;
          word-break: break-all;
          display: -webkit-box;
        }
      }
    }
    .LeftDown {
      margin-top: 60px;
      .downtitle {
        span {
          font-size: 20px;
          font-weight: bolder;
        }
        em {
          padding-left: 10px;
        }
        button {
          border: none;
          border-radius: 20px;
          width: 95px;
          height: 30px;
          background-color: rgb(238, 235, 235);
          &:first-of-type {
            margin-left: 500px;
            background-color: rgb(140, 247, 211);
            color: #fff;
          }
        }
      }
    }
    .SongItem {
      margin: 20px auto;
      width: 800px;
      tr {
        height: 40px;
        width: 100%;

        &:nth-child(even) {
          background-color: rgb(245, 244, 244);
        }
        th {
          color: #ccc;
        }
        td:first-child,
        th:first-child {
          width: 50px;
          text-align: center;
        }
        td:nth-child(2),
        th:nth-child(2) {
          width: 300px;
          text-align: center;
        }
        td:nth-child(3),
        th:nth-child(3) {
          width: 300px;
          text-align: center;
        }
        td:nth-child(4),
        th:nth-child(4) {
          width: 150px;
          text-align: center;
        }

        &:hover {
          background-color: rgb(226, 226, 226);
        }
        .playIcon:hover {
          background-color: rgba(4, 220, 224, 0.418);
          width: 30px;
          height: 30px;
          border-radius: 50%;
        }
      }
    }
  }
  .ItemRight {
    float: left;
    width: 25%;
    margin-left: 50px;
    .rightTitle1 {
      &::before {
        content: "";
        display: inline-block;
        vertical-align: top;
        width: 4px;
        height: 18px;
        background-color: aquamarine;
        margin: 3px 5px 0 0;
        border-radius: 2px;
      }
    }
    .commentItem {
      margin-top: 20px;

      .c_avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        overflow: hidden;
      }
      .c_p {
        display: inline-block;
        vertical-align: top;
        margin-left: 20px;
        .c_content {
          background-color: rgb(233, 233, 233);
          border-radius: 5px;
          padding: 2px 10px;
          width: 210px;
          color: rgb(129, 128, 128);
          -webkit-line-clamp: 1;
          -webkit-box-orient: vertical;
          text-overflow: ellipsis;
          overflow: hidden;
          word-break: break-all;
          display: -webkit-box;
        }
      }
    }
  }
}

/*****************底部********************/
// 暂未实现
/*播放条参考孟坤的音乐播放器：https://github.com/mengkunsoft/MKOnlineMusicPlayer*/
/* 底部 */
.footer {
  z-index: 100;
  height: 50px;
  // background-color: rgb(206, 205, 205);
  bottom: 0;
  width: 100%;
  position: fixed;
}
.contain {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 带图片的按钮 */
.player-btn {
  background-image: url("../images/player.png");
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.player-btn:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}
/* 暂停状态 */
.btn-state-paused {
  background-position: -30px 0;
}
/* 控制按钮(上一首、播放、下一首)区域 */
.con-btn {
  float: left;
  width: 130px;
  height: 100%;
  position: relative;
  margin: 0 10px;
}
.con-btn a {
  display: inline-block;
  position: absolute;
  top: 50%;
}
.btn-prev {
  background-position: 0 -30px;
  width: 19px;
  height: 20px;
  margin-top: -10px;
}

.btn-play {
  width: 19px;
  height: 29px;
  margin-top: -14.5px;
  left: 36%;
  margin-left: -10.5px;
}
.btn-next {
  background-position: 0 -52px;
  right: 30%;
  width: 19px;
  height: 20px;
  margin-top: -10px;
}
.btn-order {
  background-position: 0 -173px;
  background-size: 450%;
  right: 0;
  width: 25px;
  height: 25px;
  margin-top: -10px;
}
.btn-order-single {
  background-position: 0 -196px;
}
.btn-order-list {
  background-position: 0 -173px;
}
.btn-order-random {
  background-position: 0 -62px;
  height: 18px;
  margin-top: -9px;
}

/* 音乐进度条区域 */
.progress {
  width: auto;
  margin-left: 150px;
  margin-right: 200px;
  height: 100%;
  position: relative;
}

/* 限制进度条的盒子 */
.progress-box {
  position: absolute;
  height: 20px;
  left: 10px;
  right: 0;
  top: 50%;
  margin-top: -9px;
}

/* 音量控制区域 */
.vol {
  float: right;
  width: 200px;
  height: 100%;
  right: 0;
  position: relative;
}

.quiet {
  width: 60px;
  height: 100%;
  position: relative;
  float: left;
}
.btn-quiet {
  display: inline-block;
  position: absolute;
  width: 26px;
  height: 21px;
  top: 50%;
  right: 0;
  margin-top: -10px;
  background-position: 0 -144px;
}
.btn-state-quiet {
  background-position: 0 -182px;
}
.volume {
  position: relative;
  margin-left: 60px;
  height: 100%;
  overflow: hidden;
}
/* 限制声音进度条的盒子 */
.volume-box {
  position: absolute;
  height: 20px;
  left: 10px;
  right: 10px;
  top: 50%;
  margin-top: -10px;
}

/* 以下是进度条控件样式区域 */
/* 进度条可点击区域 */
.xsNpgb-area {
  position: relative;
  cursor: pointer;
  height: 100%;
}
/* 进度条有背景区域 */
.xsNpgb-bar {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background-color: #808284;
  overflow: hidden;
}
/* 进度条已完成区域 */
.xsNpgb-cur {
  position: absolute;
  background-color: #d8d8d8;
  width: 0;
  height: 2px;
  top: 50%;
  margin-top: -1px;
  border-radius: 2px;
  transition: all 0.25s ease;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
}
/* 进度条小点 */
.xsNpgb-dot {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  position: absolute;
  left: 0px;
  margin-left: -5px;
  top: 50%;
  margin-top: -5px;
  transition: all 0.25s ease;
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
}
/* 进度条禁止点击样式 */
.xsNpgb-locked {
  cursor: default;
}

/* 闪动效果作者：*/
.dot-move {
  -webkit-box-shadow: 0 0 20px #fff;
  -moz-animation: dot-move 3s linear 2s infinite;
  -webkit-animation: dot-move 3s linear 2s infinite;
  -o-animation: dot-move 3s linear 2s infinite;
  -ms-animation: dot-move 3s linear 2s infinite;
}
@-webkit-keyframes dot-move {
  0% {
    -webkit-box-shadow: 0 0 20px #fff;
  }
  25% {
    -webkit-box-shadow: 0 0 10px #fff;
  }
  50% {
    -webkit-box-shadow: 0 0 0px #fff;
  }
  75% {
    -webkit-box-shadow: 0 0 10px #fff;
  }
  100% {
    -webkit-box-shadow: 0 0 20px #fff;
  }
}
@keyframes dot-move {
  0% {
    -webkit-box-shadow: 0 0 10px #363333;
  }
  25% {
    -webkit-box-shadow: 0 0 7px #363333;
  }
  50% {
    -webkit-box-shadow: 0 0 0px #fff;
  }
  75% {
    -webkit-box-shadow: 0 0 6px #fff;
  }
  100% {
    -webkit-box-shadow: 0 0 10px #363333;
  }
}

/* 歌词显示区域 */
.lyric {
  width: 300px;
  height: 400px;
  background-color: rgba(204, 202, 202, 0.8);
  display: none;
  position: absolute;
  left: 1000px;
  right: 0px;
  bottom: 50px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  line-height: 28px;
  padding: 20px 0;
}
/* 歌词ul */
#lyric {
  position: absolute;
  width: 100%;
  top: 0;
  bottom: 0;
  overflow: hidden;
}
#lyric > li {
  word-break: keep-all;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 正在播放的那一句歌词 */
#lyric .lplaying {
  color: #31c27c;
}
/* 歌词显示区显示的提示语(如加载中、无歌词等) */
.lyric-tip {
  position: absolute;
  width: 100%;
  top: 50%;
}
